package com.example.springboot.jsp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @desc
 * @Author wangsh
 * @date 2018/5/5 18:18
 * @return
 */
@Controller
@RequestMapping("/jsp")
public class JspConroller {


	@RequestMapping("/index")
	public String index(Map<String, Object> model) {
		model.put("message", "spring boot对jsp的支持方式");
		return "index";
	}
}